package juc.pubsub;

/**
 * @author YangXin
 * @version 1.0
 * @date 2022/3/10 22:23
 */
public class Product {

    private static Integer count=0;


    public static void add() {
        count++;
    }

    public static void delete() {
        count--;
    }

    public static Integer getCount() {
        return count;
    }
}
